<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>易控-帮助中心</title>
	<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/static/css/help_min.css">
<!--[if lt IE 9]>
	<script src="/static/js/bootstrap/js/html5shiv.min.js"></script>
	<script src="/static/js/bootstrap/js/respond.min.js"></script>
<![endif]-->
	<style>
		th,td{
			border: 1px solid #e2e2e2;
		}
	</style>
</head>
<body>
	<div style="width:800px; margin:0 auto;">
		<a href="/helpcenter/add_help" target="_blank">添加</a>&nbsp;<a href="/helpcenter/logout">安全退出</a>
		<table>
			<caption>帮助文档列表</caption>
			<tr><th>id</th><th>标题</th><th>内容</th><th>操作</th></tr>
			{foreach $help_data as $key => $item}
				<tr><td>{$item.id}</td><td>{$item.title}</td><td>{$item.content}</td><td><a style="display: block;" href="/helpcenter/edit_help?id={$item.id}" target="_blank" style="display: block;">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp;<a style="display: block;" href="/helpcenter/delete_help?id={$item.id}" >删除</a></td></tr>
			{/foreach}
		</table>


	</div>
</body>
</html>